package com.zhaoxi.demo.demo1.service;

import com.zhaoxi.demo.demo1.dao.SomeDAO;
import com.zhaoxi.demo.demo1.service.SomeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zxiaoming
 * @Description:
 * @date 2021/2/2523:36
 */

public class SomeServiceImpl implements SomeService {
    public SomeServiceImpl() {
        System.out.println("SomeServiceImpl->instance");
    }

    @Autowired
    private SomeDAO someDAO;
    @Override
    public void doSomething() {
        someDAO.doAccessData();
    }
}
